﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecurityApi.DataAccess;

namespace SecurityApi.UnitTest
{
    [TestClass]
    public class UserUnitTest
    {

        [TestMethod]
        public void GetUserByIdTest()
        {
            SecurityApi.DataAccess.EnterpriseUserRepository repository = new SecurityApi.DataAccess.EnterpriseUserRepository();
            int userId = 1;
            SecurityApi.DataAccess.EnterpriseUser user = repository.GetUserById(userId);
            Debug.WriteLine(user.UserName);
        }

    }
}
